package com.hyh.toyshopping.mapper;

import com.hyh.toyshopping.model.Admin;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @version 1.0
 * @BelongsProject:IntelliJ IDEA
 * @BelongsPackage:com.hyh.toyshopping.mapper
 * @Author:hyhWTX
 * @ClassName:AdminMapper
 * @CreateTime:2022年-12月-15日 12:56
 * @Description: TODO (一句话描述以下该类的功能)
 */
@Repository
public interface AdminMapper {
    @Select("select * from tbl_admin where admin_name=#{username}")
    Admin getAdminByName(String username);
}
